﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ReadOnlyAttributeBehavior : MonoBehaviour
{
    [ReadOnlyAttribute]
    public string MyString = "Leon";

    [ReadOnlyAttribute]
    public int MyInt = 22;

    [ReadOnlyAttribute]
    public Color MyColor = Color.green;

    [ReadOnlyAttribute]
    public Vector3 MyVector3 = Vector3.one;

    [ReadOnlyAttribute]
    public Rect MyRect = new Rect(1, 1, 1, 1);

}
